package com.ccgk.logistics.service;

import java.util.List;

import com.ccgk.common.page.PaginationVo;
import com.ccgk.logistics.domain.Pack;

public interface PackService {
	
	Integer add(Pack pack);
	
	Pack getById(int id);
	
	List<Pack> findAll();
	
	Integer update(Pack pack);
	
	Integer delete(int id);

	PaginationVo<Pack> findList(int currentPage, int pageSize);

	void batchDelete(Integer[] idIntArray);

	Pack getByName(String name);
}
